package com.ruoyi.bus.vo;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @Description
 * @Author caiyanshan
 * @Date 2021/4/15 15:56
 * @Param
 * @Return
 */
@Data
public class RegisterVo {
  
  @NotEmpty(message = "手机号不能为空")
  private String phone;
  
  @NotEmpty(message = "密码不能为空")
  private String password;
  
  @NotEmpty(message = "用户名不能为空")
  private String userName;
  
  @NotNull(message = "机构不能为空")
  private Long deptId;
  
  private Integer userType;
  
  @NotEmpty(message = "微信ID不能为空")
  private String openId;
  
  private String wxNickName;
  
  private String wxHeadImage;
}
